package com.hzhr.iot.user.sdk.model.resource;

import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "ResourceModel", description = "资源模型")
public class ResourceModel {
    @ApiModelProperty(value = "说明 : 编号", required = true)
    @CygProperty(show = "", entityProp = "id")
    private Integer id;

    @ApiModelProperty(value = "说明 : 服务(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "service")
    private String service;
    @ApiModelProperty(value = "说明 : 版本(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "version")
    private String version;
    @ApiModelProperty(value = "说明 : 资源(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "uri")
    private String uri;
    @ApiModelProperty(value = "说明 : 描述(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "des")
    private String des;
    @ApiModelProperty(value = "说明 : 掩码(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "resourceInActionExtList_mask")
    private String mask;
    @ApiModelProperty(value = "说明 : 用户编号(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "")
    private Integer userId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public String getService() {
        return service;
    }

    public void setService(String service) {
        this.service = service;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getMask() {
        return mask;
    }

    public void setMask(String mask) {
        this.mask = mask;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}

